package org.BUPT.domain.service;

import org.BUPT.infrastructure.persistent.po.Message;
import org.springframework.stereotype.Service;

import java.util.List;
@Service

public interface MessageService {
    public List<Message> getMessagesOfUser(int userId);
    public Message getMessage(int messageId);
    public Message visitMessage(int messageId);
    public void addMessage(Message message);
}
